package com.itheima.one_to_many;

import com.itheima.bean.Student;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface StudentMapper {
    // 根据cid查询student表
    @Select("select * from student where cid=#{cid}")
    public abstract List<Student> selectById(Integer cid);
}
